<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
<head>
<th:block data-th-include="admin/common/meta"></th:block>
<!-- Vendor styles -->
<link rel="stylesheet" data-th-href="@{/css/material-design-iconic-font/css/material-design-iconic-font.min.css}">
<link data-th-href="@{/css/bootstrap.min.css}" rel="stylesheet">
<link data-th-href="@{/css/autocomplete/autocomplete.css}" rel="stylesheet">
<link data-th-href="@{/css/materialdesignicons.min.css}" rel="stylesheet">
<link data-th-href="@{/css/style.min.css}" rel="stylesheet">
<link data-th-href="@{/css/app.css}" rel="stylesheet">
<!-- jstree -->
<link rel="stylesheet" data-th-href="@{/css/jsTree/style.min.css}">
<!-- treeTable -->
<link rel="stylesheet" data-th-href="@{/css/jqTreeGrid/jquery.treegrid.css}">
<!-- fontIconPicker core CSS -->
<link rel="stylesheet" type="text/css" data-th-href="@{/js/fontIconPicker/css/jquery.fonticonpicker.min.css}" />

<!-- required default theme -->
<link rel="stylesheet" type="text/css" data-th-href="@{/js/fontIconPicker/themes/dark-grey-theme/jquery.fonticonpicker.darkgrey.min.css}" />
<!--对话框-->
<link rel="stylesheet" data-th-href="@{/js/jconfirm/jquery-confirm.min.css}">
<!--bootstrap select-->
<link rel="stylesheet" data-th-href="@{/js/bootstrap-select-1.13.12/dist/css/bootstrap-select.min.css}">
<script type="text/javascript" data-th-src="@{/js/jquery.min.js}"></script>
<script type="text/javascript" data-th-src="@{/js/bootstrap.min.js}"></script>
<script type="text/javascript" data-th-src="@{/js/bootstrap-select-1.13.12/dist/js/bootstrap-select.min.js}"></script>
<script data-th-src="@{/js/jquery-validate/jquery.validate.min.js}"></script>
<script data-th-src="@{/js/jquery-validate/additional-methods.min.js}"></script>
<script data-th-src="@{/js/jquery-validate/messages_zh.min.js}"></script>
<!-- fontIconPicker JS -->
<script type="text/javascript" data-th-src="@{/js/fontIconPicker/jquery.fonticonpicker.min.js}"></script>
<script data-th-src="@{/js/jQuery-File-Upload/js/vendor/jquery.ui.widget.js}"></script>
<script data-th-src="@{/js/jQuery-File-Upload/js/jquery.iframe-transport.js}"></script>
<script data-th-src="@{/js/jQuery-File-Upload/js/jquery.fileupload.js}"></script>
<script data-th-src="@{/js/jQuery-File-Upload/js/jquery.fileupload-process.js}"></script>
<script data-th-src="@{/js/jQuery-File-Upload/js/jquery.fileupload-ui.js}"></script>
</head>
  
<body>
<div class="lyear-layout-web">
  <div class="lyear-layout-container">
       <!--左侧导航-->
    <th:block data-th-include="admin/common/aside"></th:block>
    <!--End 左侧导航-->
    
    <!--头部信息-->
    <th:block data-th-include="admin/common/header"></th:block>
    <!--End 头部信息-->
    
    <!--页面主要内容-->
    <main class="lyear-layout-content">
      
      <div class="container-fluid">
        
        <div class="row">
          <div class="col-lg-12">
            <div class="card">
              <div class="card-body">
		        <form id="setting-add-form" class="edit-form">
		          <div class="form-group">
                    <label for="site_name">网站名称</label>
                      <input class="form-control" type="text" id="site_name" name="site_name"  placeholder="请输入站点名称" >
                  </div>	
		          <div class="form-group">
                    <label for="theme">模板</label>
                    <select  name="theme" class="form-control">
					  <option th:each="obj:${templates}" th:value="${obj}" th:text="${obj}"></option>
					</select>
                  </div> 
		          <div class="form-group">
                    <label for="domain">域    名</label>
                      <input class="form-control" type="text" id="domain" name="domain"  placeholder="请输入站点名称" >
                  </div>    
                  <div class="form-group">
                      <label for="web_site_logo">LOGO图片</label>
                      <div class="row">
                        <div class="col-md-10">
                          <input type="text" class="form-control" id="site_logo" name="site_logo" />
                        </div>
                        <div class="col-md-2">
                          <a href="javascript:;" class="a-upload" id="uploadLogo">
				            <input type="file" name="site_logo_file" id="site_logo_file">上传图片
					      </a>
                        </div>
                      </div>
                    </div>                                                	  		                   
		          <div class="form-group">
                    <label for="version">版本</label>
                      <input class="form-control" type="text" id="version" name="version"  placeholder="请输入版本" >
                  </div> 
 		          <div class="form-group">
                    <label for="site_address">地址</label>
                      <input class="form-control" type="text" id="site_address" name="site_address"  placeholder="请输入地址" >
                  </div>                   		 
 		          <div class="form-group">
                    <label for="site_phone">电话</label>
                      <input class="form-control" type="text" id="site_phone" name="site_phone"  placeholder="请输入电话" >
                  </div>  
  		          <div class="form-group">
                    <label for="site_email">邮箱</label>
                      <input class="form-control" type="text" id="site_email" name="site_email"  placeholder="请输入邮箱" >
                  </div>   
  		          <div class="form-group">
                    <label for="site_copyright">版权信息</label>
                      <input class="form-control" type="text" id="site_copyright" name="site_copyright"  placeholder="请输入版权信息" >
                  </div>                                    		 		 		 
  		          <div class="form-group">
                    <label for="site_icp">备案信息</label>
                      <input class="form-control" type="text" id="site_icp" name="site_icp"  placeholder="请输入备案信息" >
                  </div> 
                  <div class="form-group">
                      <button type="submit" class="btn btn-primary m-r-5 btn-save" id="setting-add-button" onclick="return false;">确 定</button>
                      <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);return false;">返 回</button>
                  </div>  			 		 	  
		</form>
              </div>
            </div>
          </div>
          
        </div>
        
      </div>
      
    </main>
    <!--End 页面主要内容-->
  </div>
</div>
<script data-th-inline="javascript">
	var ctx = [[@{/}]];
    $('select').selectpicker({width:"100%"});
</script>
<script type="text/javascript" data-th-src="@{/js/perfect-scrollbar.min.js}"></script>
<!--消息提示-->
<script data-th-src="@{/js/bootstrap-notify.min.js}"></script>
<!--对话框-->
<script data-th-src="@{/js/jconfirm/jquery-confirm.min.js}"></script>
<script type="text/javascript" data-th-src="@{/js/lightyear.js}"></script>
<script type="text/javascript" data-th-src="@{/js/main.min.js}"></script>
<script data-th-src="@{/js/jqTreeGrid/jquery.treegrid.js}"></script>
<script data-th-src="@{/js/jqTreeGrid/jquery.treegrid.extension.js}"></script>
<script type="text/javascript" data-th-src="@{/js/common.js}"></script>
<script data-th-src="@{/js/app/admin/cms/setting/setting.js}"></script>
<div data-th-include="admin/system/user/updatePassword"></div>
</body>
</html>